package uit.server.util;

import org.junit.Test;
import org.springframework.mock.web.MockHttpServletRequest;

public class RequestMapHelperTest {

	@Test
	public void testRequestMapping() {
		MockHttpServletRequest request = new MockHttpServletRequest();
		request.addParameter("screenWidth", "1024");
		request.addParameter("screenHeight", "762");
		
//		RequestMapObject mapObject=RequestMapHelper.requestMapping(request, "UPIS3", RequestMapObject.DO_REFRESH_ACTION);
		
//		assertEquals(mapObject.getWidth(),1024);
//		assertEquals(mapObject.getHeight(),762);
		
	}

}
